/***************************/
/*** Grundlegendes Setup ***/
/***************************/
html {
    scroll-behavior: smooth;
    box-sizing: border-box;
    /* Basis-Schriftgröße: 1rem entspricht hier 16px */
    font-size: 16px; 
}

* {
    box-sizing: inherit;
}

body {
    font-family: 'Verdana', Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: #333;
    /* Fließtext skaliert leicht mit der Bildschirmbreite */
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.2rem);
}

/*********************/
/*** Header Grafik ***/
/*********************/
.header-banner {
    width: 100%;
    min-height: 20vh; /* Mindestens 20% der Bildschirmhöhe */
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header-banner img {
    max-width: 100%;
    height: auto;
    max-height: calc(100vh - 4rem);
    display: block;
}

/*************************/
/*** Sticky Navigation ***/
/*************************/
.nav-container {
    background-color: #333;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5vw; /* Flexibler Seitenabstand (5% der Breite) */
    height: 4rem;   /* Feste Höhe in rem für bessere Skalierung */
    box-shadow: 0 0.2rem 0.5rem rgba(0,0,0,0.2);
}

.logo {
    color: white;
    font-weight: bold;
    /* Logo skaliert zwischen 1.2rem und 1.8rem */
    font-size: clamp(1.2rem, 2vw, 1.8rem);
}

.logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    /* Die Höhe sollte etwas kleiner als die Navbar (4rem) sein */
    height: 2rem; 
    width: auto; /* Behält das Seitenverhältnis bei */
    display: block;
    transition: transform 0.3s ease;
}

/* Optionaler Hover-Effekt für das Logo */
.logo img:hover {
    transform: scale(1.05);
}

/* Navigations-Links Desktop */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    padding: 0 1rem;
    line-height: 4rem;
    display: block;
    transition: background 0.3s;
    font-size: clamp(0.75rem, 0.75rem + 0.5vw, 0.95rem);
}

.nav-links li a:hover {
    background-color: #555;
}

/* Mobile Menü (Hamburger) */
#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    color: white;
    font-size: 2rem;
}

/******************************/
/*** Responsive Anpassungen ***/
/******************************/
/*@media (max-width: 48rem) { /* entspricht ca. 768px */
@media (max-width: 100rem) {
    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 4rem;
        left: 0;
        width: 100%;
        background-color: #333;
        
        max-height: calc(100vh - 4rem); /* Begrenzt Menü auf restliche Displayhöhe */
        overflow-y: auto;               /* Aktiviert vertikales Scrollen */
        -webkit-overflow-scrolling: touch; /* Flüssiges Scrollen auf iOS */
    }

    #menu-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-links li {
        text-align: center;
        border-top: 1px solid #444;
    }
}

/*************************/
/*** Sektionen Styling ***/
/*************************/
.sec_head_bar {
    background-color: #e73934;
    color:#ffffff;
    width: 100%;
}

.sec_head_text
 {
    max-width:75rem;
    margin: 0 auto;
    width: calc(100% - 10vw);
}

h2 {
  margin: 0;
}

section {
    /* Padding oben/unten skaliert mit der Viewport-Höhe */
    padding: 10vh 5vw; 
    min-height: 70vh;
    text-align: left;
}

section h1, section h2 {
    /* Magische Formel: min, flexibel, max */
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
}

section p {
    max-width: 75rem; /* Verhindert zu lange Textzeilen auf Riesen-Monitoren */
    margin: 0 auto;
}


/**********************/
/*** Galerie Layout ***/
/**********************/
.gallery-container {
    display: grid;
    /* Erzeugt Spalten, die mindestens 15rem breit sind und den Platz füllen */
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 70rem; /* Damit die Galerie auf Riesen-Monitoren nicht zu breit wird */
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 0.4rem 1rem rgba(0,0,0,0.1);
    background-color: #ddd;
    /* Seitenverhältnis 3:2 beibehalten */
    aspect-ratio: 3 / 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Bild füllt den Container ohne Verzerrung */
    display: block;
    transition: transform 0.5s ease;
    cursor: pointer;
    text-align:center;
}

/* Hover-Effekt: Bild zoomt leicht ran */
.gallery-item img:hover {
    transform: scale(1.1);
}

/* Anpassung für sehr kleine Handys */
@media (max-width: 25rem) {
    .gallery-container {
        grid-template-columns: 1fr; /* Nur eine Spalte auf ganz kleinen Displays */
    }
}

/* Lightbox Hintergrund */
.lightbox {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    z-index: 2000; /* Über der Sticky-Nav */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
}

/* Das Bild im Modal */
.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 0.3rem;
    box-shadow: 0 0 2rem rgba(255,255,255,0.1);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

/* Wenn aktiv, zoomt das Bild sanft rein */
.lightbox.active .lightbox-wrapper {
    transform: scale(1);
}

/* Schließen-Button */
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

.lightbox.active {
    display: flex;
}

.lightbox-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
}

/* Styling für den Titel */
.lightbox-caption {
    color: white;
    margin-top: -1rem;
    font-size: 1.5rem;
    font-family: sans-serif;
    text-align: center;
}

/******************/
/**** Slideshow ***/
/******************/
/* Interview Partner */
.slider-container {
  position: relative;
  max-width: 1000px;
  margin: auto;
  /*display: flow-root;*/
}

.slider-viewport {
  position: relative; /* Bezugspunkt für die Pfeile */
  width: 100%;
}

.slide {
  display: none; /* Versteckt alle Bilder standardmäßig */
  width: 100%;
}

.slide.active {
  display: block; /* Zeigt nur das aktive Bild */
}
.slide img { display:block; width: 100%; height: auto; }

/* Pfeil-Styling */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 15px;
  cursor: pointer;
  z-index: 10;
}
.prev { left: 10px; }
.next { right: 10px; }

.caption {
  color: #333;
  padding-bottom: 15px;
  text-align: center;
  width:100%;

}

/* Graphic Novel */
.slider-container_GN {
  position: relative;
  max-width: 1000px;
  margin: auto;
  /*display: flow-root;*/
}

.slider-viewport_GN {
  position: relative; /* Bezugspunkt für die Pfeile */
  width: 100%;
}

.slide_GN {
  display: none; /* Versteckt alle Bilder standardmäßig */
  width: 100%;
}

.slide_GN.active_GN {
  display: block; /* Zeigt nur das aktive Bild */
}
.slide_GN img { display:block; width: 100%; height: auto; }

/* Producers Notes */
.slider-container_PN {
  position: relative;
  max-width: 1000px;
  margin: auto;
  /*display: flow-root;*/
}

.slider-viewport_PN {
  position: relative; /* Bezugspunkt für die Pfeile */
  width: 100%;
}

.slide_PN {
  display: none; /* Versteckt alle Bilder standardmäßig */
  width: 100%;
}

.slide_PN.active_PN {
  display: block; /* Zeigt nur das aktive Bild */
}
.slide_PN img { display:block; width: 100%; height: auto; }

/* Poster */
#slider-container_Poster {
  position: relative;
  max-width: 500px;
  margin: auto;
  /*display: flow-root;*/
}

.slider-viewport_Poster {
  position: relative; /* Bezugspunkt für die Pfeile */
  width: 100%;
}

.slide_Poster img { display:block; width: 100%; height: auto; }

/***************/
/*** Trailer ***/
/***************/

.video-container {
    max-width: 75rem;
    margin-left: auto;
    margin-right: auto; /* Zentriert das Video */
    width: 100%;
}

.video-container iframe {
    width: 100%;
    aspect-ratio: 16 / 9; /* Hält das Video immer im richtigen Format */
    height: auto;
    display: block;
}

/****************/
/*** Personen ***/
/****************/

.Personen_Img {
display: block; 
margin-bottom: 15px; 
max-width: 100%; 
height: auto;
}

